﻿@model sgp.Models.Banco

@{
    ViewBag.Title = "Create";
}



<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Cadastrar Banco</legend>
        <table border="0" width="35%" cellpadding="5">

        <tr>
            <td>
        <div class="editor-label">
            @Html.LabelFor(model => model.Nome)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nome)
            @Html.ValidationMessageFor(model => model.Nome)
        </div>
        </td>
        <td>
        <div class="editor-label">
            @Html.LabelFor(model => model.Numero)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Numero)
            @Html.ValidationMessageFor(model => model.Numero)
        </div>
            </td>
        </tr>
         </table>
        <table border="0" width="10%" cellpadding="3">
            <tr>
                <th>
                    <input class="btn btn-success btn-small" type="submit" value="Salvar" />
                </th>
                <th>
                    <a class="btn btn-inverse btn-small" href="/Banco/Index" data-original-title="">Voltar</a>
                </th>
            </tr>
        </table>
      
    </fieldset>
    
}

